package com.itheima.api;


import com.itheima.vo.PageResult;
import com.itheima.mongo.RecommendUser;

import java.util.List;

public interface RecommendUserApi {

    RecommendUser queryWithMaxScore(Long toUserId);

    //分页查询
    PageResult queryRecommendUserList(Integer page, Integer pagesize, Long toUserId);

    /**
     * 查询用户之间的推荐信息
     */
    RecommendUser queryByUserId(Long userId, Long toUserId);

    List<RecommendUser> queryCardsList(Long userId, int count);
}
